package biz.innovasoft.nodb.transaction;

import java.util.Date;

import org.prevayler.Query;

import biz.innovasoft.nodb.impl.GenericRepository;

public class GetSizeQuery implements Query {

	@Override
	public Object query(Object prevSystem, Date time) throws Exception {
		GenericRepository repository = (GenericRepository)prevSystem;
		return repository.size();
	}

}
